﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domaine.Entity;

namespace Application.Services
{
    public interface IAppMembershipService
    {

        Domaine.Entity.Membership GetMemmberByUserName(string username);
        Domaine.Entity.Membership GetMemmberByUserID(Guid id);
        Domaine.Entity.Membership GetMemmberByUserEmail(string email);
       void UpdateMemmber (Domaine.Entity.Membership member);
       Domaine.Entity.AspApplication GetAspApplication();
       void AddAspApplication(Domaine.Entity.AspApplication app);

       void AddMember(Domaine.Entity.Membership member);

       void RemoveMember(Domaine.Entity.Membership member);
       IEnumerable<Domaine.Entity.Membership>  GetPagedMembers(int pageIndex, int pageSize);
    }
}
